/**
 * Created by jinn on 2015/6/12.
 */

/**
 * 图层配置文件
 * overlayLayers图层：叠加在底图base图层上的聚合图层，如各比例级别下的区划边界
 */
define(
    {
        "catalogs":[
           /* {
                'id':1,
                'key':'mapabc',
                'name':'高德'
            },*/
            /*{
                'id':2,
                'key':'tianditu',
                'name':'天地图'
            },*/
            {
                'id':3,
                'key':'google',
                'name':'谷歌'
            }
        ],
        "layers": [
            {
                "id": 1,
                'catalog':1,
                "name": "高德矢量",
                "URL": "http://webrd0${a}.is.autonavi.com/appmaptile?style=7&x=${x}&y=${y}&z=${z}&lang=zh_cn&size=1&scale=1",
                "type": "vec",
                "serverType": "MAPabc",
                "centerX": 11339634.286396,
                "centerY": 4588716.5813769,
                "mapLevel": 4,
                "memo":"矢量",
                "overlay":[],
                "proxy":false
            },{
                "id": 2,
                'catalog':1,
                "name": "高德影像",
                "URL": "http://webst0${a}.is.autonavi.com/appmaptile?style=6&x=${x}&y=${y}&z=${z}",
                "type": "vec",
                "serverType": "MAPabc",
                "centerX": 11339634.286396,
                "centerY": 4588716.5813769,
                "mapLevel": 4,
                "memo":"影像",
                "overlay":[],
                "proxy":false
            },
            {
                "id": 3,
                'catalog':2,
                "name": "天地图矢量",
                "URL": "",
                "type": "vec",
                "projection": "EPSG:4326",
                "serverType": "TDT_N",
                "centerX": 108,
                "centerY": 34,
                "mapLevel": 4,
                "memo":"矢量",
                "overlay":[],
                "annotation":true,
                "proxy":false
            },{
                "id": 4,
                'catalog':2,
                "name": "天地图影像",
                "URL": "",
                "type": "ter",
                "projection": "EPSG:900913",
                "serverType": "TDT_N",
                "centerX": 11339634.286396,
                "centerY": 4588716.5813769,
                "mapLevel": 2,
                "memo":"天地图影像",
                "overlay":[],
                "annotation":true,
                "proxy":false
            },
            {
                "id": 5,
                'catalog':3,
                "name": "google矢量",
                "URL": "",
                "type": "vec",
                "projection": "EPSG:900913",
                "serverType": "Google",
                "centerX": 108,
                "centerY": 34,
                "mapLevel": 4,
                "memo":"矢量",
                "overlay":[],
                "annotation":true,
                "proxy":false
            },{
                "id": 6,
                'catalog':3,
                "name": "google影像",
                "URL": "",
                "type": "img",
                "projection": "EPSG:900913",
                "serverType": "Google",
                "centerX": 11339634.286396,
                "centerY": 4588716.5813769,
                "mapLevel": 2,
                "memo":"google影像",
                "overlay":[],
                "annotation":true,
                "proxy":false
            }
        ],
        "levelToScales": [
            {
                "regionLevel": 0,
                "mapLevel": [0, 1],
                "mapScale": [512000000, 256000000]
            },
            {
                "regionLevel": 1,
                "mapLevel": [2, 3],
                "radio": 1,
                "mapScale": [128000000, 64000000]
            },
            {
                "regionLevel": 2,
                "mapLevel": [4, 5],
                "radio": 1.8,
                "mapScale": [38000000, 16000000]
            },
            {
                "regionLevel": 3,
                "mapLevel": [6, 7],
                "radio": 1.8,
                "mapScale": [8000000, 4000000]
            },
            {
                "regionLevel": 4,
                "mapLevel": [8, 9],
                "radio": 2,
                "mapScale": [2000000, 1000000]
            },
            {
                "regionLevel": 5,
                "mapLevel": [10, 12],
                "radio": 1.4,
                "mapScale": [500000, 120000]
            },
            {
                "regionLevel": 6,
                "mapLevel": [13, 15],
                "radio": 1.8,
                "mapScale": [60000, 15000]
            },
            {
                "regionLevel": 8,
                "mapLevel": [16, 19],
                "radio": 1.6,
                "mapScale": [7500, 1000]
            }
        ],
        "default": 1
    }
);
